/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2016-2019 Skyatlas co. ltd

   
*/

#ifndef BAREOS_DIRD_MIGRATION_H_
#define BAREOS_DIRD_MIGRATION_H_

namespace directordaemon {

bool DoMigration(JobControlRecord* jcr);
bool DoMigrationInit(JobControlRecord* jcr);
void MigrationCleanup(JobControlRecord* jcr, int TermCode);
bool SetMigrationWstorage(JobControlRecord* jcr,
                          PoolResource* pool,
                          PoolResource* next_pool,
                          const char* where);

} /* namespace directordaemon */
#endif  // BAREOS_DIRD_MIGRATION_H_
